/**
 * 
 */
package br.unesp.ibb.lbbc.fba;

import java.util.concurrent.ExecutionException;

import javax.swing.JOptionPane;

/**
 * @author Esther
 *
 */
public class TestaFBA {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// Schedule a job for the event-dispatching thread:
		// creating and showing this application's GUI.
		
			javax.swing.SwingUtilities.invokeLater(new Runnable(){
				@Override
				public void run() {
				
					System.out.println("Esther");
					
					ProgressBar stoi = new ProgressBar();
					stoi.start();
					
					double[][] m = null;
					
					try {
						m = stoi.getTask().get();
		
					} catch (InterruptedException e) {
						// TODO Auto-generated catch block
						e.printStackTrace();
					} catch (ExecutionException e) {
						// TODO Auto-generated catch block
						e.printStackTrace();
					}
					System.out.println(m[0][0]);

					
				}				 
			});			
	
			
			
	}
}
